package kr.ac.pusan.cse.hts.common.data;

public class BuySellOrder extends Order{

	private static final long serialVersionUID = -6286508586600360200L;
	private String name;
	private int price;
	private int amount;
	private OrderType type;
	public BuySellOrder(String name, int price, int amount, OrderType type){
		this.name = name;
		this.price = price;
		this.amount = amount;
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public int getPrice() {
		return price;
	}

	public int getAmount() {
		return amount;
	}

	public OrderType getType() {
		return type;
	}
}
